UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The audit system must be configured to audit file deletions.


Overview

Finding ID Version Rule ID IA Controls Severity
V-29240 GEN002740-2 SV-37656r1_rule ECAR-1 ECAR-2 ECAR-3 Medium
Description
If the system is not configured to audit certain activities and write them to an audit log, it is more difficult to detect and track system compromises and damages incurred during a system compromise.
STIG Date
Red Hat Enterprise Linux 5 Security Technical Implementation Guide 2014-07-07

Details

Check Text ( C-36846r1_chk )
Check the system audit configuration to determine if file and directory deletions are audited.

# cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "rmdir"

If no results are returned, or the results do not contain "-S rmdir", this is a finding.
Fix Text (F-31683r1_fix)
Edit the audit.rules file and add the following line to enable auditing of deletions:
-a exit,always -S rmdir

Restart the auditd service.
# service auditd restart